package main

import "fmt"

func main() {

	//1.

	if ok := getResult(1, 2); !ok {
		fmt.Println(ok)
	} else {
		fmt.Println("走的else逻辑")
	}

}

func getResult(a int, b int) bool {
	return a+b > 0
}
